<template>
  <div>
    <h4>环境因素（不利因素或有利因素）</h4>
    <el-row type="flex" justify="space-between">
        <el-col :span="7">
          <span>助手</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.pjskfgn_pajs52">
              <el-radio label="0">独居</el-radio>
              <el-radio label="1">一个</el-radio>
              <el-radio label="2">两个</el-radio>
            </el-radio-group>
            <el-input v-model="pgForm.pjskfgn_en_note1" placeholder="备注"></el-input>
          </div>
        </el-col>
      <el-col :span="7">
        <span>家人态度</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs53">
            <el-radio label="0">消极</el-radio>
            <el-radio label="1">一般</el-radio>
            <el-radio label="2">积极</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note2" placeholder="备注"></el-input>
        </div>
      </el-col>
      <el-col  :span="7">
        <span>居住环境</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs54">
            <el-radio label="0">电梯</el-radio>
            <el-radio label="1">楼梯</el-radio>
            <el-radio label="2">其他</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note3" placeholder="备注"></el-input>
        </div>
      </el-col>
      <el-col :span="7">
        <span>经济状况</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs55">
            <el-radio label="0">差</el-radio>
            <el-radio label="1">一般</el-radio>
            <el-radio label="2">好</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note4" placeholder="备注"></el-input>
        </div>
      </el-col>
      <el-col :span="7"></el-col>
      <el-col :span="7"></el-col>
    </el-row>
    <h4>个人因素（不利因素或有利因素）</h4>
    <el-row type="flex" justify="space-between">
      <el-col  :span="7">
        <span>意识状态</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs56">
            <el-radio label="0">昏迷</el-radio>
            <el-radio label="1">嗜睡</el-radio>
            <el-radio label="2">正常</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note5" placeholder="备注" ></el-input>
        </div>
      </el-col>
      <el-col :span="7">
        <span>配合程度</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs57">
            <el-radio label="0">消极</el-radio>
            <el-radio label="1">一般</el-radio>
            <el-radio label="2">积极</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note6" placeholder="备注" ></el-input>
        </div>
      </el-col>
      <el-col :span="7">
        <span>理解能力</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs58">
            <el-radio label="0">消极</el-radio>
            <el-radio label="1">一般</el-radio>
            <el-radio label="2">积极</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note7" placeholder="备注"></el-input>
        </div>
      </el-col>
      <el-col  :span="7">
        <span>心理状态</span>
        <div class="grid-content">
          <el-radio-group v-model="pgForm.pjskfgn_pajs59">
            <el-radio label="0">焦虑</el-radio>
            <el-radio label="1">抑郁</el-radio>
            <el-radio label="2">正常</el-radio>
          </el-radio-group>
          <el-input v-model="pgForm.pjskfgn_en_note8" placeholder="备注" ></el-input>
        </div>
      </el-col>
      <el-col :span="7"></el-col>
      <el-col :span="7"></el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "environment_person",
  title: "环境因素和个人因素",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props:{
    fromdata:{},
    istrans:false,
  },
  data(){
    return{
      pgForm:{
        pjskfgn_pajs52:'',
        pjskfgn_pajs53:'',
        pjskfgn_pajs54:'',
        pjskfgn_pajs55:'',
        pjskfgn_pajs56:'',
        pjskfgn_pajs57:'',
        pjskfgn_pajs58:'',
        pjskfgn_pajs59:'',
        pjskfgn_en_note1:'',
        pjskfgn_en_note2:'',
        pjskfgn_en_note3:'',
        pjskfgn_en_note4:'',
        pjskfgn_en_note5:'',
        pjskfgn_en_note6:'',
        pjskfgn_en_note7:'',
        pjskfgn_en_note8:'',
      }
    }
  }
}
</script>

<style scoped>

.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  display: block;
}
.el-radio{
  display: block;
  margin: 20px 0;
}

</style>
